package cn.frh.basic.constant;

import cn.frh.basic.exception.BusinessException;

public class BaseConstants {
    /**
     * 手机注册验证码前缀
     */
    public static final String BUSINESS_REGISTER_PREFIX = "business_register_prefix:";
    public static final String BUSINESS_BINDER_PREFIX = "business_binder_prefix:";
    public static final String BUSINESS_LOGIN_PREFIX = "business_login_prefix:";


    //  ================= 微信登录相关
    public static final String APPID="wxd853562a0548a7d0";
    public static final String SECRET="4a5d5615f93f24bdba2ba8534642dbb6";
    public static final String GET_TOKEN_URL="https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code";
    public static final String GET_WXUSER_URL="https://api.weixin.qq.com/sns/userinfo?access_token=ACCESS_TOKEN&openid=OPENID";



}
